package com.supermarket.api.bean.product;

import com.supermarket.api.entity.ProductAttributeEntity;
import com.supermarket.api.entity.ProductEntity;
import com.supermarket.api.entity.ProductSkuEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 商品详细信息
 * @author 李其伟
 * @date 2023/10/19
 */
@ApiModel("商品详细信息")
@Data
public class ProductDetail {

    @ApiModelProperty(value = "商品信息",dataType = "ProductEntity")
    private ProductEntity productEntity;

    @ApiModelProperty(value = "商品属性信息",dataType = "ProductAttributeEntity")
    private List<ProductAttributeEntity> attributeList;

    @ApiModelProperty(value = "商品Sku信息",dataType = "ProductSkuEntity")
    private List<ProductSkuEntity> skuList;

}
